From: Keir Fraser Date: Wed, 29 Oct 2008 10:19:35 +0000 (+0000) Subject: x86: Specify NUMA node when alloc'ing compat l4 for 32-on-64 guest X-Git-Tag: archive/raspbian/4.8.0-1+rpi1~1^2~14054^2~16 X-Git-Url: https://dgit.raspbian.org/%22http:/www.example.com/cgi/%22https://%22%22/%22http:/www.example.com/cgi/%22https:/%22%22?a=commitdiff_plain;h=51a6cd5ef83cfbad310f26037d3c94358e902582;p=xen.git x86: Specify NUMA node when alloc'ing compat l4 for 32-on-64 guest Signed-off-by: Keir Fraser --- diff --git a/xen/arch/x86/domain.c b/xen/arch/x86/domain.c index 0c39db4718..90cb433b36 100644 --- a/xen/arch/x86/domain.c +++ b/xen/arch/x86/domain.c @@ -174,9 +174,10 @@ void free_vcpu_struct(struct vcpu *v) static int setup_compat_l4(struct vcpu *v) { - struct page_info *pg = alloc_domheap_page(NULL, 0); + struct page_info *pg; l4_pgentry_t *l4tab; + pg = alloc_domheap_page(NULL, MEMF_node(vcpu_to_node(v))); if ( pg == NULL ) return -ENOMEM;